package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户地址值对象 super_user_address
 *
 * @author xjf
 * @date 2025-08-15
 */
public class SuperUserAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址表id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 收件人姓名 */
    @Excel(name = "收件人姓名")
    private String receiverName;

    /** 收件人手机号 */
    @Excel(name = "收件人手机号")
    private String receiverPhone;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 省份代码 */
    @Excel(name = "省份代码")
    private String provinceCode;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 城市代码 */
    @Excel(name = "城市代码")
    private String cityCode;

    /** 县/区 */
    @Excel(name = "县/区")
    private String district;

    /** 县/区代码 */
    @Excel(name = "县/区代码")
    private String districtCode;

    /** 是否默认 0 否 1是 */
    @Excel(name = "是否默认 0 否 1是")
    private Long isDefault;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String details;

    /** 是否删除 0 正常 1删除 */
    @Excel(name = "是否删除 0 正常 1删除")
    private Long del;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setReceiverName(String receiverName)
    {
        this.receiverName = receiverName;
    }

    public String getReceiverName()
    {
        return receiverName;
    }

    public void setReceiverPhone(String receiverPhone)
    {
        this.receiverPhone = receiverPhone;
    }

    public String getReceiverPhone()
    {
        return receiverPhone;
    }

    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getProvince()
    {
        return province;
    }

    public void setProvinceCode(String provinceCode)
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode()
    {
        return provinceCode;
    }

    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }

    public void setCityCode(String cityCode)
    {
        this.cityCode = cityCode;
    }

    public String getCityCode()
    {
        return cityCode;
    }

    public void setDistrict(String district)
    {
        this.district = district;
    }

    public String getDistrict()
    {
        return district;
    }

    public void setDistrictCode(String districtCode)
    {
        this.districtCode = districtCode;
    }

    public String getDistrictCode()
    {
        return districtCode;
    }

    public void setIsDefault(Long isDefault)
    {
        this.isDefault = isDefault;
    }

    public Long getIsDefault()
    {
        return isDefault;
    }

    public void setDetails(String details)
    {
        this.details = details;
    }

    public String getDetails()
    {
        return details;
    }

    public void setDel(Long del)
    {
        this.del = del;
    }

    public Long getDel()
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("receiverName", getReceiverName())
                .append("receiverPhone", getReceiverPhone())
                .append("province", getProvince())
                .append("provinceCode", getProvinceCode())
                .append("city", getCity())
                .append("cityCode", getCityCode())
                .append("district", getDistrict())
                .append("districtCode", getDistrictCode())
                .append("isDefault", getIsDefault())
                .append("details", getDetails())
                .append("del", getDel())
                .toString();
    }
}
